package Classes;

/**
 * Every instance of this class represent a doc.
 * 
 * @author florahan
 */
public class Document {
	
	protected String docid; // Doc id
	protected String docno; // Doc no
	protected double score; // Doc score
	
	/**
	 * Initiate a single document.
	 * @param docid
	 * @param docno
	 * @param score
	 */
	public Document(String docid, String docno, double score) {
		this.docid = docid;
		this.docno = docno;
		this.score = score;
	}
	
	public String docid() {
		return docid;
	}
	
	public String docno() {
		return docno;
	}
	
	public double score() {
		return score;
	}
	
	public void setDocid( String docid ) {
		this.docid = docid;
	}
	
	public void setDocno( String docno ) {
		this.docno = docno;
	}
	
	public void setScore( double score ) {
		this.score = score;
	}
}
